package com.etc.entity;

import org.springframework.stereotype.Component;

@Component
public class Employee {
    private Integer empid;

    private String empname;

    private String emppwd;

    private String empsex;

    private String emptel;

    private Integer emplevel;

    private String empaddress;

    public Integer getEmpid() {
        return empid;
    }

    public void setEmpid(Integer empid) {
        this.empid = empid;
    }

    public String getEmpname() {
        return empname;
    }

    public void setEmpname(String empname) {
        this.empname = empname == null ? null : empname.trim();
    }

    public String getEmppwd() {
        return emppwd;
    }

    public void setEmppwd(String emppwd) {
        this.emppwd = emppwd == null ? null : emppwd.trim();
    }

    public String getEmpsex() {
        return empsex;
    }

    public void setEmpsex(String empsex) {
        this.empsex = empsex == null ? null : empsex.trim();
    }

    public String getEmptel() {
        return emptel;
    }

    public void setEmptel(String emptel) {
        this.emptel = emptel == null ? null : emptel.trim();
    }

    public Integer getEmplevel() {
        return emplevel;
    }

    public void setEmplevel(Integer emplevel) {
        this.emplevel = emplevel;
    }

    public String getEmpaddress() {
        return empaddress;
    }

    public void setEmpaddress(String empaddress) {
        this.empaddress = empaddress == null ? null : empaddress.trim();
    }

	@Override
	public String toString() {
		return "Employee [empid=" + empid + ", empname=" + empname + ", emppwd=" + emppwd + ", empsex=" + empsex
				+ ", emptel=" + emptel + ", emplevel=" + emplevel + ", empaddress=" + empaddress + "]";
	}

	public Employee(Integer empid, String empname, String emppwd, String empsex, String emptel, Integer emplevel,
			String empaddress) {
		super();
		this.empid = empid;
		this.empname = empname;
		this.emppwd = emppwd;
		this.empsex = empsex;
		this.emptel = emptel;
		this.emplevel = emplevel;
		this.empaddress = empaddress;
	}

	public Employee() {
		super();
	}
    
    
    
    
}